#ifndef __MM_H__
#define __MM_H__

#include <global/header/types.h>

int   mm_init();

void *alloc(uint32_t size);
void  free(void *addr);

void *balloc(uint32_t size);
void  bfree(void *addr);

void *palloc(uint32_t size, int dma);
void  pfree(void *addr);

void *valloc(uint32_t size, physaddr_t addr);
void  vfree(void *addr);

#endif
